package com.facebook.presto.tdengine;

import com.facebook.presto.spi.ConnectorTableLayoutHandle;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class TdEngineTableLayoutHandle implements ConnectorTableLayoutHandle {
    private TdEngineTableHandle table;

    @JsonProperty
    public TdEngineTableHandle getTable() {
        return table;
    }

    public void setTable(TdEngineTableHandle table) {
        this.table = table;
    }

    @JsonCreator
    public TdEngineTableLayoutHandle(@JsonProperty("table") TdEngineTableHandle tableHandle) {
        this.table = tableHandle;
    }
}
